package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息提醒表
 *
 * @author Sakura
 * @since 2024-09-24
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "消息推送详细信息")
public class MessageReminderInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("消息ID")
    private Long id;

    @ApiModelProperty("事件关联ID")
    private Long correlationId;

    @ApiModelProperty("消息类型：1代理商推送店铺绑定申请")
    private Integer msgType;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("消息状态：0未读 1已读 2已处理")
    private Integer msgStatus;

    @ApiModelProperty("审核状态（审核类消息）：0待审核 1通过 2不通过")
    private Integer checkStatus;

    @ApiModelProperty("websocket状态：0 未推送 1推送成功 2推送失败")
    private Integer websocketStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
